.file "comma_and_strange_assignment.c"
.text
.section .rodata
.LC0:
	.string	"x = %d, y = %d, z = %d\n"
.LC1:
	.string	"houseprice = %d\n"

.text
.globl main
.type main, @function
main:
    pushq %rbp
    movq %rsp, %rbp
    subq $16, %rsp
    // y
    movl $3, -4(%rbp)
    // ++y
    addl $1, -4(%rbp)
    movl -4(%rbp) /* y */, %eax
    addl $2, %eax
    movl %eax, -8(%rbp) /* z */
    movl -8(%rbp) /* z */, %eax
    addl $5, %eax
    movl %eax, -12(%rbp) /* x */
    
    movl -12(%rbp) /* x */, %esi
    movl -4(%rbp) /* y */, %edx
    movl -8(%rbp) /* z */, %ecx
    leaq .LC0(%rip), %rdi
    call printf

    movl $245, -16(%rbp) /* houseprice */
    movl -16(%rbp) /* houseprice */, %esi
    leaq .LC1(%rip), %rdi
    call printf

    movl $500, -16(%rbp) /* houseprice */
    movl -16(%rbp) /* houseprice */, %esi
    leaq .LC1(%rip), %rdi
    call printf

    movl $0, %eax
    movq %rbp, %rsp
    popq %rbp
    ret